package com.flitsneak.designpatterns.behavioralpatterns.chainofresponsibility;

/**
 * @description
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/8 11:25
 */
public class FeiFei {
    public static void main(String[] args) {
        Boyfriend handsomeBoyfriend = new HandsomeBoyfriend();
        Boyfriend richBoyfriend = new RichBoyfriend();
        Boyfriend honestBoyfriend = new HonestBoyfriend();

        handsomeBoyfriend.setNext(richBoyfriend);
        richBoyfriend.setNext(honestBoyfriend);

        handsomeBoyfriend.featureOrder("1");
    }
}
